package com.aischool.service;

import java.util.List;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;

public class SysApiService {

	public final String CK_CacheName = "CachePower";
	public final String CK_Sys_Api_All = "CK_Sys_Api_All";
	
	/**
	 * 获取接口
	 * @return
	 */
	public List<Record> getApiAll(){
		return Db.findByCache(CK_CacheName, CK_Sys_Api_All, "SELECT * FROM sys_api ORDER BY app_id");
	}
}
